Skip to content

fix(ci): export missing classes + align sandbox test exceptions#35

Merged
NeuZhou merged 1 commit intomasterfrom
fix/ci-exports
Apr 13, 2026
Merged

fix(ci): export missing classes + align sandbox test exceptions#35
NeuZhou merged 1 commit intomasterfrom
fix/ci-exports

Conversation

@NeuZhou
Copy link
Copy Markdown
Owner

@NeuZhou NeuZhou commented Apr 13, 2026

Fixes 4 CI test failures:

  1. MomentumAdapter not exported from stratevo.strategies (was in combiner.py but not in init)
  2. ModelSelector, PredictionTracker, FinancialDataSplitter not exported from stratevo.ml (classes existed in submodules but init didn't re-export)
  3. Security sandbox tests expected NameError/TypeError but sandbox raises ValueError — added ValueError to expected tuple

All 4 tests pass locally.

…cialDataSplitter + align sandbox test exceptions

- Add MomentumAdapter to stratevo.strategies.__init__ (was in combiner.py but not exported)
- Add ModelSelector, PredictionTracker, FinancialDataSplitter to stratevo.ml.__init__
- Security sandbox tests: add ValueError to expected exceptions (sandbox raises ValueError for forbidden calls)
@NeuZhou NeuZhou merged commit e3b68f3 into master Apr 13, 2026
3 checks passed
@NeuZhou NeuZhou deleted the fix/ci-exports branch April 13, 2026 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant